<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>

  <!-- 样式 -->
  <style>
    /* h1 {
      color: red;
      background-color: lightblue;
      text-align: center;
    }

    id选择器  精准的选择

    #test {
      color: blue;
    } */

    /* 类选择器 */
    .red {
      color: red;
    }

    .big-center {
      font-size: 2em;
      text-align: center;
    }
  </style>
</head>

<body>
  <h1 class="red big-center">
    现在开始添加样式
  </h1>
  <p class="red">Lorem, ipsum dolor.</p>
  <p id="test">Autem, exercitationem debitis!</p>
  <p>Quidem, saepe ipsa.</p>
</body>

</html>